package game.shapes;

import java.awt.*;

public class Subject {
	private final Color colour;
	private final int x;
	private final int y;

	public Subject(Color colour, int x, int y) {
		this.colour = colour;
		this.x = x;
		this.y = y;
	}

	public void draw(Graphics2D graphics) {
		graphics.setColor(colour);
		graphics.drawLine(x, y, x, y);
	}

	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	}
}
